﻿<%@ Page Title="" Language="C#" MasterPageFile="~/CMSV2/MasterPage.master" AutoEventWireup="true" CodeFile="MultiplayerInfoManager.aspx.cs" Inherits="CMSV2_MetaData_MultiPlayerInfoManager" %>
<%@ Register TagPrefix="Reviewer" Namespace="Reviewer.Web.UI" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <h3>
        Rediger multiplayer information.</h3>
    <p>
        <b>Bemærk:</b> Multiplayer information kan ikke slettes!
    </p>
    <asp:DataGrid runat="server" ID="uidtItems" AutoGenerateColumns="False" Width="100%"
        CellPadding="4" GridLines="None" ForeColor="#333333">
        <AlternatingItemStyle BackColor="White" ForeColor="#284775" />
        <Columns>
            <asp:BoundColumn DataField="Id" HeaderText="Id" />
            <asp:HyperLinkColumn DataTextField="Name" HeaderText="Navn" DataNavigateUrlField="Id"
                DataNavigateUrlFormatString="~/CMSV2/MetaData/MultiPlayerInfoManager.aspx?Id={0}" />
        </Columns>
        <EditItemStyle BackColor="#999999" />
        <FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <ItemStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <SelectedItemStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
    </asp:DataGrid>
    <asp:Panel runat="server" ID="uiPnlEditItem" Visible="false">
        <asp:Menu runat="server" ID="uiMnuTabs" Orientation="Horizontal" StaticMenuItemStyle-CssClass="Tab"
            StaticSelectedStyle-CssClass="SelectedTab" CssClass="InfoTabs">
            <Items>
                <asp:MenuItem Text="Generelt" Value="0" Selected="true" />
            </Items>
        </asp:Menu>
        <div class="TabContents">
            <asp:MultiView runat="server" ID="uiMvTabs" EnableTheming="true" ActiveViewIndex="0">
                <asp:View runat="server" ID="uiMvGeneral">
                    <Reviewer:MetadataItemEditPanel runat="server" ID="uiMiepItem" ValidationGroup="NewItem"
                        DataType="Reviewer.Entities.MultiplayerInfo,Reviewer.Entities" />
                </asp:View>
            </asp:MultiView>
            <hr />
            <div style="text-align: right">
                <asp:HyperLink runat="server" ID="uiHlCancel" Text="Tilbage til oversigt" NavigateUrl="?Id=" />&nbsp;&nbsp;&nbsp;
                <asp:Button runat="server" ID="uiBtnSave" Text="Gem" ValidationGroup="GameInfo" OnClick="uiBtnSave_Click" />
            </div>
        </div>
    </asp:Panel>
    <asp:HyperLink runat="server" ID="uiHlCreateNew" Text="Opret ny" NavigateUrl="?id=new" />
</asp:Content>

